#include <BG_Oled_N64.h>

BG_Oled_N64 oled;

const char* strsz[] = {
  "From tomorrow on, I will be a happy person;",
  "I only wish to face the sea, with spring flowers blossoming.",
  "I often remember that sunset at Creek1 Pavilion: ",
  "Too drunk to know our way back home.",
  "Turning the boat sound after a joyous2 day",
  "We blundered deeper into lotus way.",
  "Punt away! Punt away! We drive up a beachful of herons and gulls."
};

String str = "This is demo";

void setup() {
  delay(1000);
  oled.beginOLED();
  oled.setStr(oled.xyNum(3), oled.xyNum(1), "BG_Oled_N64");
  oled.setStr(0, 2, oled.useString(str));
  for (int i = 0; i < oled.lenStrOLED(oled.useString(str)); i++) {
    oled.cleanStr(i, 2);
    delay(360);
  }
  for (int j = 0; j < 7 ; j++) {
    oled.setcOLED(strsz[j], oled.lenStrOLED(strsz[j]));
    delay(1500);
  }
  delay(500);
  oled.cleanAll();
}

void loop() {
}
